<html>
<head><meta charset="utf-8"><title>Using fast linker to compile rustc itself? · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html">Using fast linker to compile rustc itself?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="206939359"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/206939359" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#206939359">(Aug 14 2020 at 15:11)</a>:</h4>
<p>It's a common knowledge that something like</p>
<div class="codehilite"><pre><span></span><code>[target.x86_64-unknown-linux-gnu]
linker = &quot;/run/current-system/sw/bin/clang&quot;
rustflags = [ &quot;-Clink-arg=-fuse-ld=lld&quot; ]
</code></pre></div>


<p>makes rust compile (linking) time faster</p>



<a name="206939438"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/206939438" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#206939438">(Aug 14 2020 at 15:11)</a>:</h4>
<p>Can I somehow opt into this optimization for compiling rustc itself?</p>



<a name="206939467"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/206939467" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#206939467">(Aug 14 2020 at 15:11)</a>:</h4>
<p>Or does it already use the fast linker?</p>



<a name="206939501"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/206939501" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#206939501">(Aug 14 2020 at 15:11)</a>:</h4>
<p>I don't think our defaults are any different than other Rust projects</p>



<a name="206939639"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/206939639" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#206939639">(Aug 14 2020 at 15:13)</a>:</h4>
<p>but you can set <code>use-lld = true</code> in Cargo.toml and that should work</p>



<a name="206939653"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/206939653" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#206939653">(Aug 14 2020 at 15:13)</a>:</h4>
<p>er, config.toml</p>



<a name="206940725"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/206940725" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#206940725">(Aug 14 2020 at 15:23)</a>:</h4>
<p>I think I always used <code>RUSTFLAGS=-Clinker=clang -Clink-arg=-fuse-ld=lld ./x.py build</code> for that</p>



<a name="206940784"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/206940784" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#206940784">(Aug 14 2020 at 15:24)</a>:</h4>
<p>there's a setting in <code>config.toml</code> for using LLD during LLVM builds which greatly helps when you have to rebuild LLVM</p>



<a name="206941236"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/206941236" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#206941236">(Aug 14 2020 at 15:28)</a>:</h4>
<p>there's both llvm lld and rust lld</p>



<a name="206951872"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/206951872" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mati865 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#206951872">(Aug 14 2020 at 16:58)</a>:</h4>
<p>Yeah, I recently fixed <code>use-lld</code> to pass <code>-fuse-ld=lld</code> so in order to get fast compile times you ideally should set <code>llvm.use-linker = "lld"</code>, <code>rust.use-lld = true</code>, <code>cc=clang</code>, <code>cxx=clang++</code>, <code>ar=llvm-ar</code>, <code>ranlib=llvm-ranlib</code>, <code>linker=clang</code>.</p>



<a name="206952093"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/206952093" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mati865 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#206952093">(Aug 14 2020 at 17:00)</a>:</h4>
<p>In <code>config.toml</code> ofc.</p>



<a name="206999197"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/206999197" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#206999197">(Aug 15 2020 at 01:35)</a>:</h4>
<p>is llvm-ar faster than gnu ar ?</p>



<a name="207000838"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207000838" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207000838">(Aug 15 2020 at 02:21)</a>:</h4>
<p>rustc does not use external archiver directly, it creates archives directly in-memory, using the same underlying code llvm-ar does.</p>



<a name="207016488"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207016488" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mati865 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207016488">(Aug 15 2020 at 10:54)</a>:</h4>
<p>AFAIK it's used for compiling C/C++ code.<br>
Don't know if it's faster though.</p>



<a name="207131953"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207131953" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207131953">(Aug 17 2020 at 11:29)</a>:</h4>
<p>Hm, so I set <code>use-lld</code>, and I have the following problem</p>



<a name="207131961"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207131961" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207131961">(Aug 17 2020 at 11:29)</a>:</h4>
<div class="codehilite"><pre><span></span><code>λ ldd ./build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-lld
    linux-vdso.so.1 (0x00007ffc76f1f000)
    libpthread.so.0 =&gt; /nix/store/xg6ilb9g9zhi2zg1dpi4zcp288rhnvns-glibc-2.30/lib/libpthread.so.0 (0x00007f4457d23000)
    libLLVM-10-rust-1.46.0-beta.so =&gt; not found
</code></pre></div>



<a name="207131975"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207131975" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207131975">(Aug 17 2020 at 11:29)</a>:</h4>
<p>Note that I use system LLVM</p>



<a name="207132119"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207132119" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207132119">(Aug 17 2020 at 11:31)</a>:</h4>
<p>So my guess is that <code>use-lld</code> requires one to build LLVM, and is incompatible with system llvm. Is this guess correct?</p>



<a name="207132177"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207132177" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207132177">(Aug 17 2020 at 11:32)</a>:</h4>
<p>bootstrap rust-lld is linked against the same LLVM as the bootstrap rustc.</p>



<a name="207132218"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207132218" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207132218">(Aug 17 2020 at 11:33)</a>:</h4>
<p>Bootstrap should automatically set <code>LD_LIBRARY_PATH</code> to include all libraries shipped with rustc. (<code>libLLVM-*.so</code>, <code>libstd-*.so</code> and <code>librustc_driver-*.so</code>)</p>



<a name="207132285"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207132285" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207132285">(Aug 17 2020 at 11:34)</a>:</h4>
<p>If you want to manually invoke rust-lld you have to use <code>LD_LIBRARY_PATH="./build/x86_64-unknown-linux-gnu/stage0/lib"</code> I think.</p>



<a name="207132337"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207132337" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207132337">(Aug 17 2020 at 11:35)</a>:</h4>
<p>Hm, so the actual error I get is</p>
<div class="codehilite"><pre><span></span><code>   Compiling memchr v2.3.3
error: linker `/home/matklad/projects/rust/1/build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-lld` not found
  |
  = note: No such file or directory (os error 2)

error: aborting due to previous error
</code></pre></div>



<a name="207132447"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207132447" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207132447">(Aug 17 2020 at 11:36)</a>:</h4>
<p>You are using NixOS, right? Did you patchelf <code>rust-lld</code>?</p>



<a name="207132468"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207132468" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207132468">(Aug 17 2020 at 11:36)</a>:</h4>
<p>Yup, I am on NixOs, no, I didn't patchelf, let me check this...</p>



<a name="207133604"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207133604" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207133604">(Aug 17 2020 at 11:51)</a>:</h4>
<p>It works!</p>



<a name="207133607"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207133607" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207133607">(Aug 17 2020 at 11:51)</a>:</h4>
<p><code>  = note: rust-lld: error: unable to find library -ldl</code></p>



<a name="207133620"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207133620" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207133620">(Aug 17 2020 at 11:51)</a>:</h4>
<p>Kinda :D gotta find those libraries somewhere...</p>



<a name="207134102"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207134102" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207134102">(Aug 17 2020 at 11:57)</a>:</h4>
<p>on nixos the stdenv <code>gcc</code> will be wrapped up to provide paths to glibc sysroot implicitly. You gotta do that same thing yourself and/or adjust environment to the same effect.</p>



<a name="207134244"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207134244" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207134244">(Aug 17 2020 at 11:59)</a>:</h4>
<div class="codehilite"><pre><span></span><code><span class="p">[</span><span class="n">rust</span><span class="p">]</span><span class="w"></span>
<span class="n">codegen</span><span class="o">-</span><span class="n">units</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="w"></span>
<span class="k">use</span><span class="o">-</span><span class="n">lld</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">true</span><span class="w"></span>

<span class="p">[</span><span class="n">target</span><span class="p">.</span><span class="n">x86_64</span><span class="o">-</span><span class="n">unknown</span><span class="o">-</span><span class="n">linux</span><span class="o">-</span><span class="n">gnu</span><span class="p">]</span><span class="w"></span>
<span class="n">llvm</span><span class="o">-</span><span class="n">config</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;llvm-config&quot;</span><span class="w"></span>
<span class="n">linker</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;clang&quot;</span><span class="w"></span>
</code></pre></div>


<p>The following seems not to break immediately for me</p>



<a name="207144906"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Using%20fast%20linker%20to%20compile%20rustc%20itself%3F/near/207144906" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mati865 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Using.20fast.20linker.20to.20compile.20rustc.20itself.3F.html#207144906">(Aug 17 2020 at 13:40)</a>:</h4>
<p>All that <code>use-lld</code> does on non MSVC targets is passing <code>-fuse-ld=lld</code> to the linker so it definitely uses system LLD.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>